package com.chapter.sample.service.impl;

import com.chapter.sample.dao.UserDao;
import com.chapter.sample.service.UserService;

public class UserServiceImpl implements UserService {

    //BeanFactory 去调用该方法；从容器中获取userDao设置到此处
    public void setUserDao(UserDao userDao) {
        System.out.println("BeanFactory 去调用该方法:" + userDao);
    }
}
